ReferenceSBTSelfSovereign

Verified contract

Active on Base with 3,390 txns
Deployed by via 0xf9681dd5 at 2393546
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
7 additional variables
ERC-20
Value $0
0xda97c5733aac3e8c1ba35aa964713a47f048c1e46c648ca1099ffec85e858a2e
0x39d1dacb0ae389de70379b5826cdec28ee1f307f657fd52447d6bf25602e77c6
0x1a62c79d6d5a731ddb6ea3b9c01c85d60828c0e99dab79364c0d048c7d4a799d
0x66b62a3a0dfea74d417b457c8bc1ad0d4807662bef0993fb853b32b231081b33
0xe963e1d1c9e35a0501146a576aac64eab64c3bc643379f8261e010ce026536f8
0x14b543112bd04adec84018688ea3e40e76996d903499cf892eebac1a4f94d696
0xecfd6686cc5b0d4f2bd11dd98c32920916d521cbca365eaa2c66ba3759756b4b
0x414551f9c7a9fcbd4c32679307056c6eee8bfd8ae27f8155bd2fe980f3488291
0xc42b9b07c0bd452969c27ad171c9f05411ac552a24a35b31581a453dcccb3881
0xae2ddb0800d68af2d4dd962ff34c59552ee3762ac4b34ee20e7a9e104d8c47b2

Functions
Getter at block 22729808
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
PROJECT_ADMIN_ROLE(view returns (bytes32)
0x52eafc11f6f81f86878bffd31109a0d92f37506527754f00788853ff9f63b130
addLinkPrice(view returns (uint256)
0
addLinkPriceMASA(view returns (uint256)
0
getEnabledPaymentMethods(view returns (address[])
[0x0000000000000000000000000000000000000000]
masaToken(view returns (address)
0x0000000000000000000000000000000000000000
maxSBTToMint(view returns (uint256)
1
mintPrice(view returns (uint256)
250000
mintPriceMASA(view returns (uint256)
0
name(view returns (string)
Cloud Bound Token
projectFeeReceiver(view returns (address)
0xf4ff01b0ab9cd2cbe07444a68190638205f316ef
protocolFeeAmount(view returns (uint256)
0
protocolFeePercent(view returns (uint256)
100
protocolFeeReceiver(view returns (address)
0x95e3b737ea33b45acabc111569ef65e6d0b44312
queryLinkPrice(view returns (uint256)
0
queryLinkPriceMASA(view returns (uint256)
0
soulboundIdentity(view returns (address)
0x576e82208df807b07b9e4b4bdbd7f7862f1152a9
stableCoin(view returns (address)
0xd9aaec86b65d86f6a7b5b1b0c42ffa531710b6ca
swapRouter(view returns (address)
0x0a64d8858061e1c5e2bc63f2c267cb87b47dea57
symbol(view returns (string)
CBT
totalSupply(view returns (uint256)
3366
wrappedNativeToken(view returns (address)
0x4200000000000000000000000000000000000006
Read-only
authorities(addressview returns (bool)
balanceOf(address ownerview returns (uint256)
enabledPaymentMethod(addressview returns (bool)
enabledPaymentMethods(uint256view returns (address)
exists(uint256 tokenIdview returns (bool)
getIdentityId(uint256 tokenIdview returns (uint256)
getMintPrice(address paymentMethodview returns (uint256 price)
getMintPriceWithProtocolFee(address paymentMethodview returns (uint256 priceuint256 protocolFee)
getProtocolFee(address paymentMethoduint256 amountview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
ownerOf(uint256 tokenIdview returns (address)
supportsInterface(bytes4 interfaceIdview returns (bool)
tokenByIndex(uint256 indexview returns (uint256)
tokenOfOwnerByIndex(address owneruint256 indexview returns (uint256)
tokenURI(uint256 tokenIdview returns (string)
State-modifying
addAuthority(address _authority
burn(uint256 tokenId
disablePaymentMethod(address _paymentMethod
enablePaymentMethod(address _paymentMethod
grantRole(bytes32 roleaddress account
mint(address paymentMethodaddress toaddress authorityAddressuint256 signatureDatebytes signaturepayable returns (uint256)
mint(address paymentMethoduint256 identityIdaddress authorityAddressuint256 signatureDatebytes signaturepayable returns (uint256)
removeAuthority(address _authority
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setAddLinkPrice(uint256 _addLinkPrice
setAddLinkPriceMASA(uint256 _addLinkPriceMASA
setMasaToken(address _masaToken
setMintPrice(uint256 _mintPrice
setMintPriceMASA(uint256 _mintPriceMASA
setProjectFeeReceiver(address _projectFeeReceiver
setProtocolFeeAmount(uint256 _protocolFeeAmount
setProtocolFeePercent(uint256 _protocolFeePercent
setProtocolFeeReceiver(address _protocolFeeReceiver
setQueryLinkPrice(uint256 _queryLinkPrice
setQueryLinkPriceMASA(uint256 _queryLinkPriceMASA
setSoulboundIdentity(address _soulboundIdentity
setStableCoin(address _stableCoin
setSwapRouter(address _swapRouter
setWrappedNativeToken(address _wrappedNativeToken
Events
Burn(address indexed _owneruint256 indexed _tokenId
Mint(address indexed _owneruint256 indexed _tokenId
MintedToAddress(uint256 tokenIdaddress toaddress authorityAddressuint256 signatureDateaddress paymentMethoduint256 mintPrice
MintedToIdentity(uint256 tokenIduint256 identityIdaddress authorityAddressuint256 signatureDateaddress paymentMethoduint256 mintPrice
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Constructor
constructor(address adminstring namestring symbolstring baseTokenURIaddress soulboundIdentitystruct PaymentGatewayPaymentParams paymentParamsuint256 _maxSBTToMint
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AlreadyAdded(
AuthorityNotExists(address authority
CallerNotOwner(address caller
InsufficientEthAmount(uint256 amount
InvalidPaymentMethod(address paymentMethod
InvalidSignature(
InvalidToken(address token
MaxSBTMinted(address touint256 maximum
NonExistingErc20Token(address erc20token
NotAuthorized(address signer
NotLinkedToAnIdentitySBT(
PaymentParamsNotSet(
ProtocolFeeReceiverNotSet(
RefundFailed(
SameValue(
TransferFailed(
UserMustHaveProtocolOrProjectAdminRole(
ZeroAddress(