guild_relative_weight(addr: address, time: uint256 = block.timestamp) -> uint256: view
Get Guild relative weight (not more than 1.0) normalized to 1e18 (e.g. 1.0 == 1e18). Inflation which will be received by it is
inflation_rate * relative_weight / 1e18
- addr: guild address
- time: Relative weight at the specified timestamp in the past or present
VRH DAO creates guild for users with guild type and guild rate. The owner must have 30000 veVRH at least. Guild can start mining at the start of next mining epoch.
owner: guild owner create for
guild_type: guild burning gas type
rate: guild rate charge from members, between 1% to a maximum of 20%.
One guild member will vote all veVRH weight to one guild when joining guild. Otherwise, remove all veVRH weight when leaving guild. It will take effect at the start of next epoch.
refress_guild_voteswill trigger from
guild contractautomatically when call
user_addr: Member address
guild_addr: Guild address