Write Contract
Last updated
Last updated
The changeTeamMembersAndRoyalty method is responsible for editing a team's details, including changing the fees associated with team members. This functionality allows for adjustments to be made to existing team members' fees or the addition/removal of team members.
Data
Description
Restrictions
_tokenId (uint256)
This parameter expects the token identifier.
must be a number
must be the token creator
_tokenContractAddress (address)
This parameter expects the address of the token contract.
must be an address
must be the correct token address
_members (address[])
This parameter expects an array of addresses representing the individuals who are to be added to the team.
must be an address
_royaltyMemberFees (uint256[])
This parameter expects an array of royalty fees, each corresponding to a member's address provided in _members.
must be a number
The createTeam method is responsible for creating a team for a given token, enabling team members to receive commissions from future sales. The maximum royalty fee allowed is 10%, which is then distributed among the entire team.
Data
Description
Restrictions
_tokenId (uint256)
This parameter expects the token identifier.
must be a number
must be the token creator
_tokenContractAddress (address)
This parameter expects the address of the token contract.
must be an address
must be the correct token address
_members (address[])
This parameter expects an array of addresses representing the individuals who are to be added to the team.
must be an address
_royaltyMemberFees (uint256[])
This parameter expects an array of royalty fees, each corresponding to a member's address provided in _members.
must be a number
This method allows the contract's owner to renounce their ownership. This method is accessible only to the contract's owner. This function enables the current owner to renounce ownership of the contract. Once this method is called, the owner will lose their privileges to manage the contract, and any methods that require owner permissions will no longer be accessible.
The method is available only to the current owner of the contract and allows changing the ownership of the contract
Data
Description
Restrictions
newOwner (address)
The address of the new contract owner.
must be a wallet address