Yearn Gold Finance

Verified contract

Active on Ethereum with 1,684 txns
Deployed by via 0xafeb6831 at 11074139
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
Native
Value $0
0x77ca75f6ed643b26a402023c46dcd18245019f100352cf0814556bf47446ccd5
0x8703732ed1d62cf01a8545d707d1a51ca93d79407bbb245a11bb1f2b424313a7
0x829e8de55147a47f262c32ef21ff2323cf31dcdf5ea5656a5ad908a46fd54a7d
0x7ee87c27f6a8f9ab639f569c925192ece77abee3e00b8142b68feef0966cff2d
0x3e2b0e5d3cd4494e652c8345fc87255d7e6cb5cc6bc716481127cc2beca15bce
0x181af7fa8ed4a808da879893df63ade7d155080a79e2b6a752f5dcf2ff92cab5
From
0xdbe2f85ca28800c3c5795a818a0ee64f0030a406ac9f9850a0f051026a938d65
0xe1a01c2f1d1084bb317deddbfecda88c29e366b34134ed992a10d4e1945f17b3
From
0x6802a34ccc9c1619954bb360692f7755e0184a8aec47bb058f4bc6bfbc378d55
0xb310ee419045c7ee343db81280b0f3821ed753de35a22c41c05ce5f4143a72d4

Functions
Getter at block 21287650
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
SNAPSHOT_ROLE(view returns (bytes32)
0x5fdbd35e8da83ee755d5e62a539e5ed7f47126abede0b8b10f9ea43dc6eed07f
cmContractType(view returns (string)
CMErc20BurnSnap
cmImage(view returns (string)
https://yearngoldfinance.com/web/logo/logo-top.png
cmURL(view returns (string)
https://yearngoldfinance.com/
decimals(view returns (uint8)
18
name(view returns (string)
Yearn Gold Finance
owner(view returns (address)
0x45b880edb4d17fb5f0e8d14f99a82311b6cd9e7a
symbol(view returns (string)
YGF
totalSupply(view returns (uint256)
50000000000000000000000
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
balanceOfAt(address accountuint256 snapshotIdview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
totalSupplyAt(uint256 snapshotIdview returns (uint256)
State-modifying
_setCMImage(string image
_setCMURL(string url
approve(address spenderuint256 amountreturns (bool)
burn(uint256 amount
burnFrom(address accountuint256 amount
decreaseAllowance(address spenderuint256 subtractedValuereturns (bool)
grantRole(bytes32 roleaddress account
increaseAllowance(address spenderuint256 addedValuereturns (bool)
renounceOwnership(
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
snapshot(
transfer(address recipientuint256 amountreturns (bool)
transferFrom(address senderaddress recipientuint256 amountreturns (bool)
transferOwnership(address newOwner
Events
Approval(address indexed owneraddress indexed spenderuint256 value
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Snapshot(uint256 id
Transfer(address indexed fromaddress indexed touint256 value
Constructor
constructor(string namestring symboluint256 amountuint8 decimals
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.