Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: pigeon feed #425

Merged
merged 6 commits into from
Aug 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ This repo does not accept issues. Please use <https://github.com/palomachain/pal
### To get the latest prebuilt `pigeon` binary

```shell
wget -O - https://github.com/palomachain/pigeon/releases/download/v1.12.4/pigeon_Linux_x86_64.tar.gz | \
wget -O - https://github.com/palomachain/pigeon/releases/download/v2.0.0/pigeon_Linux_x86_64.tar.gz | \
sudo tar -C /usr/local/bin -xvzf - pigeon
sudo chmod +x /usr/local/bin/pigeon

Expand All @@ -94,7 +94,7 @@ mkdir ~/.pigeon
```shell
git clone https://github.com/palomachain/pigeon.git
cd pigeon
git checkout v1.12.4
git checkout v2.0.0
make build
sudo mv ./build/pigeon /usr/local/bin/pigeon

Expand Down
3 changes: 2 additions & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,11 @@ func palomaClientConfig(palomaConfig config.Paloma) *ion.ChainClientConfig {
&consensustypes.MsgAddEvidence{},
&consensustypes.MsgSetPublicAccessData{},
&consensustypes.MsgSetErrorData{},
&consensustypes.MsgAddMessageGasEstimates{},
&palomatypes.MsgAddStatusUpdate{},
&skywaytypes.MsgSendToRemote{},
&skywaytypes.MsgConfirmBatch{},
&skywaytypes.MsgEstimateBatchGas{},
&skywaytypes.MsgSendToPalomaClaim{},
&skywaytypes.MsgLightNodeSaleClaim{},
&skywaytypes.MsgBatchSendToRemoteClaim{},
Expand All @@ -206,7 +208,6 @@ func palomaClientConfig(palomaConfig config.Paloma) *ion.ChainClientConfig {
&evmtypes.SmartContractExecutionErrorProof{},
&evmtypes.ValidatorBalancesAttestation{},
&evmtypes.ValidatorBalancesAttestationRes{},
&evmtypes.TransferERC20Ownership{},
&evmtypes.ReferenceBlockAttestation{},
&evmtypes.ReferenceBlockAttestationRes{},
},
Expand Down
1,000 changes: 999 additions & 1 deletion chain/evm/abi/compass/compass.abi

Large diffs are not rendered by default.

1,518 changes: 1,416 additions & 102 deletions chain/evm/abi/compass/compass.go

Large diffs are not rendered by default.

296 changes: 296 additions & 0 deletions chain/evm/abi/feemgr/feemgr.abi
Original file line number Diff line number Diff line change
@@ -0,0 +1,296 @@
[
{
"inputs":[
{
"name":"grain",
"type":"address"
}
],
"stateMutability":"nonpayable",
"type":"constructor"
},
{
"inputs":[
{
"name":"depositor_paloma_address",
"type":"bytes32"
}
],
"name":"deposit",
"outputs":[

],
"stateMutability":"payable",
"type":"function"
},
{
"inputs":[
{
"name":"receiver",
"type":"address"
},
{
"name":"amount",
"type":"uint256"
},
{
"name":"dex",
"type":"address"
},
{
"name":"payload",
"type":"bytes"
},
{
"name":"min_grain",
"type":"uint256"
}
],
"name":"withdraw",
"outputs":[

],
"stateMutability":"nonpayable",
"type":"function"
},
{
"inputs":[

],
"name":"security_fee_topup",
"outputs":[

],
"stateMutability":"payable",
"type":"function"
},
{
"inputs":[
{
"components":[
{
"name":"relayer_fee",
"type":"uint256"
},
{
"name":"community_fee",
"type":"uint256"
},
{
"name":"security_fee",
"type":"uint256"
},
{
"name":"fee_payer_paloma_address",
"type":"bytes32"
}
],
"name":"fee_args",
"type":"tuple"
},
{
"name":"relayer",
"type":"address"
}
],
"name":"transfer_fees",
"outputs":[

],
"stateMutability":"nonpayable",
"type":"function"
},
{
"inputs":[
{
"name":"sender",
"type":"address"
},
{
"name":"gas_fee_amount",
"type":"uint256"
}
],
"name":"reserve_security_fee",
"outputs":[

],
"stateMutability":"nonpayable",
"type":"function"
},
{
"inputs":[
{
"name":"amount",
"type":"uint256"
},
{
"name":"dex",
"type":"address"
},
{
"name":"payload",
"type":"bytes"
},
{
"name":"min_grain",
"type":"uint256"
}
],
"name":"bridge_community_fee_to_paloma",
"outputs":[
{
"name":"",
"type":"uint256"
}
],
"stateMutability":"nonpayable",
"type":"function"
},
{
"inputs":[
{
"name":"_new_compass",
"type":"address"
}
],
"name":"update_compass",
"outputs":[

],
"stateMutability":"nonpayable",
"type":"function"
},
{
"inputs":[
{
"name":"_compass",
"type":"address"
}
],
"name":"initialize",
"outputs":[

],
"stateMutability":"nonpayable",
"type":"function"
},
{
"inputs":[

],
"name":"compass",
"outputs":[
{
"name":"",
"type":"address"
}
],
"stateMutability":"view",
"type":"function"
},
{
"inputs":[

],
"name":"grain",
"outputs":[
{
"name":"",
"type":"address"
}
],
"stateMutability":"view",
"type":"function"
},
{
"inputs":[

],
"name":"rewards_community_balance",
"outputs":[
{
"name":"",
"type":"uint256"
}
],
"stateMutability":"view",
"type":"function"
},
{
"inputs":[

],
"name":"rewards_security_balance",
"outputs":[
{
"name":"",
"type":"uint256"
}
],
"stateMutability":"view",
"type":"function"
},
{
"inputs":[
{
"name":"arg0",
"type":"bytes32"
}
],
"name":"funds",
"outputs":[
{
"name":"",
"type":"uint256"
}
],
"stateMutability":"view",
"type":"function"
},
{
"inputs":[
{
"name":"arg0",
"type":"address"
}
],
"name":"claimable_rewards",
"outputs":[
{
"name":"",
"type":"uint256"
}
],
"stateMutability":"view",
"type":"function"
},
{
"inputs":[

],
"name":"total_funds",
"outputs":[
{
"name":"",
"type":"uint256"
}
],
"stateMutability":"view",
"type":"function"
},
{
"inputs":[

],
"name":"total_claims",
"outputs":[
{
"name":"",
"type":"uint256"
}
],
"stateMutability":"view",
"type":"function"
}
]
Loading
Loading