예제 #1
0
def main():
    acct = accounts.load("curve-deploy")

    # xdai/polygon bridge takes longer so we do it first
    for addr in POLYGON + XDAI:
        Contract(addr).checkpoint({"from": acct, "priority_fee": "2 gwei", "required_confs": 0})

    # for fantom we must call the gauge through the checkpoint
    # contract in order for the bridge to recognize the transaction
    checkpoint = Contract("0xa549ffd8e439c4ff746659ed80a6c5e55f9cf3cf")
    for addr in FTM:
        checkpoint.checkpoint(addr, {"from": acct, "priority_fee": "2 gwei", "required_confs": 0})

    history.wait()
예제 #2
0
def main():
    acct = accounts.load("curve-deploy")
    checkpoint = Contract("0xa549ffd8e439c4ff746659ed80a6c5e55f9cf3cf")
    for addr in FTM + POLYGON:
        checkpoint.checkpoint(addr, {"from": acct})