Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( FilForwarder = common.HexToAddress("0x2B3ef6906429b580b7b2080de5CA893BC282c225") TFilForwarder = common.HexToAddress("0x2B3ef6906429b580b7b2080de5CA893BC282c225") )
View Source
var ( SushiGLFWFILPool = common.HexToAddress("0xeBD6f8952e18fA6d5E92059bD88aC3F911C57EAF") SushiQuoterV2 = common.HexToAddress("0x9B3fF703FA9C8B467F5886d7b61E61ba07a9b51c") )
View Source
var ( ProtocolDeployEpoch = big.NewInt(2890957) TProtocolDeployEpoch = big.NewInt(559673) )
View Source
var ( TProtocolV2DeployEpoch = big.NewInt(1912401) TProtocolV2UpgradeEpoch = big.NewInt(0) )
View Source
var ( // the agent police v2 and infinity pool v2 were deployed prior to this epoch, so it is safe to fetch events from this height ProtocolV2DeployEpoch = big.NewInt(4215971) // no events will occur on these contracts before this epoch ProtocolV2UpgradeEpoch = big.NewInt(0) )
View Source
var AgentPoliceV0 = common.HexToAddress("0x1403D2163B4beA09F1b26cA4479FFc60Ca2E46BF")
View Source
var AgentPoliceV2 = common.HexToAddress("0xE87f7d4C9f9BD235CB1b15b88Ed5E9a844726947")
View Source
var CalibnetEventsURL = "https://events-calibration.glif.link"
View Source
var Extern = types.Extern{ AdoAddr: "https://ado.glif.link/rpc/v1", LotusDialAddr: dialAddr, LotusToken: "", EventsURL: MainnetEventsURL, }
View Source
var InfinityPoolV0 = common.HexToAddress("0x43dAe5624445e7679D16a63211c5ff368681500c")
View Source
var InfinityPoolV2 = common.HexToAddress("0xe764Acf02D8B7c21d2B6A8f0a96C78541e0DC3fd")
View Source
var MainnetEventsURL = "https://events.glif.link"
View Source
var ProtoMeta = types.ProtocolMeta{ AgentFactory: common.HexToAddress("0x526Ab27Af261d28c2aC1fD24f63CcB3bd44D50e0"), AgentPolice: AgentPoliceV2, IFIL: common.HexToAddress("0x690908f7fa93afC040CFbD9fE1dDd2C2668Aa0e0"), InfinityPool: InfinityPoolV2, MinerRegistry: common.HexToAddress("0xF246acF2b24316fE108ff906f6e90833a14e9263"), Router: common.HexToAddress("0xe6e6e71E747EeD9fe45F0ff63E1B3E4a7c1199bF"), WFIL: common.HexToAddress("0x60E1773636CF5E4A227d9AC24F20fEca034ee25A"), GLF: common.HexToAddress("0x2a0aaf86b2FA64E88D3739091e7773106F3ebCF5"), SPPlus: common.HexToAddress("0x82F270C22B052A93D1ab3Ad9300797B071b37952"), LPPlus: common.HexToAddress("0xC8109573799Da436287b65a25Bc5eB99e11DE2F0"), RWTFuture: common.HexToAddress("0x9f2441404b5D037732EE327E70CD3D3a2Db8e424"), Governor: common.HexToAddress("0x271Ae6CF68D29c74A0aFF42BE9Dc1AE27b13656E"), TokenNFTWrapper: common.HexToAddress("0xe33C5b9868bA7813Feb0b95e5274963c6E488C1a"), DelegatedClaimsCampaigns: common.HexToAddress("0xdbE04BE0401DDd890Ff678c00E4E6a08D496aB87"), ChainID: big.NewInt(314), }
View Source
var StagingEventsURL = "https://events-staging.glif.link"
View Source
var TestAgentPoliceV0 = common.HexToAddress("0xDA730B08A67D261fD8343c2061a269A2296c8469")
View Source
var TestAgentPoliceV2 = common.HexToAddress("0x55ffF1E383C02C51c06B2A041cb944fDaDe87D7c")
View Source
var TestExtern = types.Extern{ AdoAddr: "https://ado-testnet.glif.link/rpc/v1", LotusDialAddr: t_dialAddr, LotusToken: "", EventsURL: CalibnetEventsURL, }
View Source
var TestInfinityPoolV0 = common.HexToAddress("0x37621D9a49FFE8f13BF2Adcb87f1b115D82ac378")
View Source
var TestInfinityPoolV2 = common.HexToAddress("0x0E5Ef6a4848d6F5eF18db8928672a29Cdc6c9a92")
View Source
var TestProtoMeta = types.ProtocolMeta{ AgentFactory: common.HexToAddress("0x1EbF54537437a372614Eb50B6EDCbDB643603Fe7"), AgentPolice: TestAgentPoliceV2, IFIL: common.HexToAddress("0x8c97F94b2cDbF7Dc0098057334d9908C4dC0a885"), InfinityPool: TestInfinityPoolV2, MinerRegistry: common.HexToAddress("0xac13FF4743594344152Af8d1626cC80257bdf5C0"), Router: common.HexToAddress("0xa0770911848Bd1A0930Fc6782522381Bb6256617"), WFIL: common.HexToAddress("0xaC26a4Ab9cF2A8c5DBaB6fb4351ec0F4b07356c4"), GLF: common.HexToAddress("0x7989a6Ad291216d1B359339Fe06719EB31461325"), SPPlus: common.HexToAddress("0x812E9c0198425363e88d6302e2767A018FeebeD2"), LPPlus: common.HexToAddress("0xCd56DC8870C150ba52AE4fE0FC062583dcbB1DD1"), RWTFuture: common.HexToAddress("0xaAc436c07EE7DF325501385378b40Ad3F2827156"), Governor: common.HexToAddress("0x556C778CaC49eC8d67fe91AF379c5b8e37aED7de"), TokenNFTWrapper: common.HexToAddress("0x655E30E52b4ae511971991ff30a9e5c1f433Cd8B"), DelegatedClaimsCampaigns: common.HexToAddress("0xdbE04BE0401DDd890Ff678c00E4E6a08D496aB87"), ChainID: big.NewInt(314159), }
Functions ¶
func GetLPPlusIssuanceSeconds ¶ added in v1.5.2
GetLPPlusIssuanceSeconds returns the issuance window in seconds based on the given timestamp. Returns LP_PLUS_ISSUANCE_SECONDS if timestamp is after LP_PLUS_MAINNET_WINDOW_START_TS, otherwise returns LP_PLUS_ISSUANCE_SECONDS_PRE_LAUNCH.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.