PortfolioMain
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
8
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 1 additional slot
3 additional
variables
Balances ($0.00)
No balances found for "PortfolioMain"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "PortfolioMain"
ABI
ABI objects
Getter at block 22111581
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
PORTFOLIO_BRIDGE_ROLE() view returns (bytes32)
0x58aa05b56cf9e0a999dff04c62c0ebffe411e3a2a6258f0f135597bd1ba69077
TENK() view returns (uint256)
100000
VERSION() view returns (bytes32)
0x322e352e36000000000000000000000000000000000000000000000000000000
allowDeposit() view returns (bool)
false
getBannedAccounts() view returns (address)
0x0000000000000000000000000000000000000000
getChainId() view returns (uint32)
0
getMinDepositAmounts() view returns (bytes32[], uint256[])
([], [])
getNative() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
getTokenList() view returns (bytes32[])
[]
minDepositMultiplier() view returns (uint8)
0
native() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
nativeDepositsRestricted() view returns (bool)
false
paused() view returns (bool)
false
portfolioBridge() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
bridgeFeeCollected(bytes32) view returns (uint256)
bridgeParams(bytes32) view returns (uint256 fee, uint256 gasSwapRatio, bool usedForGasSwap)
getBridgeFee(uint8 _bridge, uint32 _dstChainListOrgChainId, bytes32 _symbol, uint256 _quantity) view returns (uint256 bridgeFee)
getMinDepositAmount(bytes32 _symbol) view returns (uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
getRoleMember(bytes32 role, uint256 index) view returns (address)
getRoleMemberCount(bytes32 role) view returns (uint256)
getToken(bytes32 _symbol) view returns (address)
getTokenDetails(bytes32 _symbol) view returns (struct IPortfolioTokenDetails)
getTokenDetailsById(bytes32 _symbolId) view returns (struct IPortfolioTokenDetails)
hasRole(bytes32 role, address account) view returns (bool)
isTrustedContract(address _contract) view returns (bool)
supportsInterface(bytes4 interfaceId) view returns (bool)
tokenDetailsMap(bytes32) view returns (uint8 decimals, address tokenAddress, uint8 auctionMode, uint32 srcChainId, bytes32 symbol, bytes32 symbolId, bytes32 sourceChainSymbol, bool isVirtual)
tokenDetailsMapById(bytes32) view returns (bytes32)
tokenMap(bytes32) view returns (address)
trustedContractToIntegrator(address) view returns (string)
trustedContracts(address) view returns (bool)
State-modifying
Events addToken(bytes32 _symbol, address _tokenAddress, uint32 _srcChainId, uint8 _decimals, uint256 _fee, uint256 _gasSwapRatio, bool _isVirtual)
addTrustedContract(address _contract, string _organization)
collectBridgeFees(bytes32[] _symbols)
collectNativeBridgeFees()
depositNative(address _from, uint8 _bridge) payable
depositToken(address _from, bytes32 _symbol, uint256 _quantity, uint8 _bridge)
depositTokenFromContract(address _from, bytes32 _symbol, uint256 _quantity)
enableBridgeProvider(uint8 _bridge, bool _enable)
grantRole(bytes32 role, address account)
initialize(bytes32 _native, uint32 _chainId)
pause()
pauseDeposit(bool _depositPause)
processXFerPayload(struct IPortfolioXFER _xfer)
removeToken(bytes32 _symbol, uint32)
removeTrustedContract(address _contract)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 _role, address _address)
setBannedAccounts(address _address)
setBridgeParam(bytes32 _symbol, uint256 _fee, uint256 _gasSwapRatio, bool _usedForGasSwap)
setMinDepositMultiplier(uint8 _minDepositMultiplier)
setPortfolioBridge(address _portfolioBridge)
unpause()
AddressSet(string indexed name, string actionName, address oldAddress, address newAddress)
Initialized(uint8 version)
ParameterUpdated(bytes32 indexed pair, string _param, uint256 _oldValue, uint256 _newValue)
Paused(address account)
PortfolioUpdated(uint8 indexed transaction, address indexed wallet, bytes32 indexed symbol, uint256 quantity, uint256 feeCharged, uint256 total, uint256 available, address walletOther)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
RoleUpdated(string indexed name, string actionName, bytes32 updatedRole, address updatedAddress)
Unpaused(address account)
This contract contains no constructor objects.
fallback()
receive()
This contract contains no error objects.