ReferenceSBTSelfSovereign

Verified contract

Active on Base with 9,547 txns
Deployed by via 0x63255437 at 3222787
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
10 additional variables
ERC-20
--
0x27bbc926eb0552fa8f84d5d974b2bfb65ce586d9e40f958e8838f7167fb13ffa
0xc2ac931a51667b812d322f13ad9b90e2d69a9c8df4b0009cfbb2fc3b71573733
0xb04b992dbf79d05e86484ab83270c9def8283289422335085a625757a0a1137e
0x1420124202b3f84349cba4f9673406db7d77b4ca850a2d5e2a285f752f37dc5d
0xde17397eb240046528d825b1773d3362479157bc87a3b7a7e3f266b2f9ed7c8a
0xbd3c84341dee425548c6f51b55dadc1fcf295a409992a8fe2fcbca69a55c4095
0x77547295c34b1e63e565f2465a97a10fca17ffc0d85c0497bd6da7a540f82f2a
0x861e2970a40baedf3832e1d3c7bb89e05f5f302a669171e242f4caa335c7d062
0xc01053d9d0cee51e3d66ed2ae46042540a055d2b3e0d67d9243e0636f2811735
0x64016c7d8001010688b4750c1a13cb50a5481d7b541c13de1059393963a7f7e9

Functions
Getter at block 22758950
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
PROJECT_ADMIN_ROLE(view returns (bytes32)
0x52eafc11f6f81f86878bffd31109a0d92f37506527754f00788853ff9f63b130
addLinkPrice(view returns (uint256)
0
addLinkPriceMASA(view returns (uint256)
0
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=ReferenceSBTSelfSovereign, version=1.0.0, chainId=8453, verifyingContract=0xc2836e463c677b3f129b3a8734439f402babf289, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
getEnabledPaymentMethods(view returns (address[])
[0x0000000000000000000000000000000000000000]
masaToken(view returns (address)
0x0000000000000000000000000000000000000000
maxSBTToMint(view returns (uint256)
1
mintPrice(view returns (uint256)
500000
mintPriceMASA(view returns (uint256)
0
name(view returns (string)
Onchain Credit-Bound Token
projectFeeReceiver(view returns (address)
0x6d5a75487f562a80230a241aa7ac404ebf635fa9
protocolFeeAmount(view returns (uint256)
0
protocolFeePercent(view returns (uint256)
100
protocolFeePercentSub(view returns (uint256)
0
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)
OCT
totalSupply(view returns (uint256)
9514
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)
getProtocolFeeSub(uint256 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
setProtocolFeePercentSub(uint256 _protocolFeePercentSub
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
EIP712DomainChanged(
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
InvalidShortString(
InvalidSignature(
InvalidToken(address token
MaxSBTMinted(address touint256 maximum
NonExistingErc20Token(address erc20token
NotAuthorized(address signer
NotLinkedToAnIdentitySBT(
PaymentParamsNotSet(
ProtocolFeeReceiverNotSet(
RefundFailed(
SameValue(
StringTooLong(string str
TransferFailed(
UserMustHaveProtocolOrProjectAdminRole(
ZeroAddress(